Latest post is a big one: "Why you shouldn't invoke setup.py directly"
A lot of people don't know about this because we haven't been great about getting the word out. This blog post is in part an attempt to remedy this.
Please help spread the word!
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
From the archives of my blog but still very relevant: "pytz: The Fastest Footgun in the West", about why you probably shouldn't be using pytz:
https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html
Coming soon to Python 3.15: frozendict
The Steering Council has just accepted @vstinner and @dongheena's PEP 814 "Add frozendict built-in type".
https://discuss.python.org/t/pep-814-add-frozendict-built-in-type/104854/121
Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.
2021-04: Deprecate in docs (v56.0.0)
https://github.com/pypa/setuptools/commit/8fe85c22cee7fde5e6af571b30f864bad156a010
2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
https://github.com/pypa/setuptools/pull/3843
2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
https://github.com/pypa/setuptools/pull/5014
2026-02: Remove (v82.0.0)
https://github.com/pypa/setuptools/pull/5007
Some news, I’ll be departing the PSF as a staff member at the end of this week.
You can read a more formal announcement over at https://pyfound.blogspot.com/2026/01/ee-departing-the-psf-staff.html, but I wanted to share on socials as well.
It has been an incredible… nearly 8 years serving as the Director of Infrastructure for the Python Software Foundation, but it is time for me to do something new.
Major Tom: "Tell my wife I love her very much."
Ground Control: "She knows."
Major Tom: "Wait, is that what she said? My last words to her are that I love her very much and her last words are 'I know'? Wow, Diane, just... wow. You know what? I'm changing my mind. Tell my wife I wish I had married her sister."
Ever wondered how to parametrize exception testing in PyTest?
Try this:
https://borutzki.github.io/2026/01/15/how-to-parametrize-exception-testing-in-pytest.html
#DailyPythonista #python #programming #Pytest #TDD #unittest
P.S. This isn't some clever satirical subpost obliquely referring to something in the news or something I'm just weird. 🐍⚕️
Snake bites can be extra dangerous when they happen far from medical care. But what if we could make that a thing of the past?
Today I am launching an ambitious campaign to provide emergency medicine education for all snakes so that if you are bitten by a snake you know emergency care is only seconds away.
About 6 or 7 years ago a transformer exploded near where I lived in Queens and it was a seriously crazy experience. I had no idea what was going on but the sky was lit up like an aurora. This just happened again kinda near me in I guess Medford or something (though I didn't see it) and other folks are saying it is one of the craziest things they have ever seen.
Now I'm starting to wonder exactly how expensive it would be to replicate this deliberately, and whether this could replace fireworks displays...
Ok yeah that is actually pretty loud. This is the power spectrum with the tip held about an inch away from the microphone. Going "aah" at the same microphone from the same distance at a normal or slightly elevated speaking level is giving me peaks around -40 and this thing is doing -20.
My son asked Santa for "math" for Christmas (among other things) so we gave him some worksheets as part of a series of puzzles. Apparently they haven't covered adding and subtracting 2-digit numbers yet so I told him how to add them up in columns.
A bit later he runs over and tells me, "Papa I was doing your strat and I hit my first 8 + 2, what do I do?"
I think it is this one, in case anyone wants to... uh... light candles 😉 https://www.amazon.com/VEHHE-Electric-Rechargeable-Flexible-Barbecue/dp/B0852VJ6RD
> And you call them open source despite the fact that they are obviously violating point 6 of the Open Source Definition about use discrimination?
I am of two minds about giving a talk in Spanish, to be honest.
On the one hand it is a personal goal to be good enough in a foreign language to give a useful or interesting talk.
On the other hand, if I ever hear the recording I might die of embarrassment when I hear myself speaking Spanish, so....
Two of my three proposals are for the Spanish language Charlas track. I have heard that they would very much appreciate more proposals, even from non-native speakers.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.